package com.xhs.zdl.demo.tools;

/**
 * Created by zdl on 2017/12/5 21:52.
 * email zdl328465042@163.com
 */

/**
 * 字符串的工具类
 */
public class MyStringUtils {

    /**
     * 判断字符串是否为空
     * @param str
     * @return true:为空  false:不为空
     */
    public static boolean isEmpty(String str){
        return null == str || str.equals("") || str.equals("null");
    }
}
